package com.teamall.web.fpgz.db.arg;

import java.util.*;
import java.math.*;
import org.apache.commons.lang.*;

public class CodeFamilyAidLogArg {
    private String pk_name = "FAMILY_AID_LOG_ID";

    private String orderByClause;

    private String groupByClause;

    private String columns;

    private String countsql1;

    private String countsql2;

    private boolean distinct;

    private int rowStart = 0;

    private int rowEnd = 10;

    private List<CodeFamilyAidLogCriteria> oredCriteria;

    public CodeFamilyAidLogArg() {
        oredCriteria = new ArrayList<CodeFamilyAidLogCriteria>();
    }

    public void setPk_name(String pk_name) {
        this.pk_name = StringEscapeUtils.escapeSql(pk_name);
    }

    public String getPk_name() {
        return pk_name;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
    }

    public String geGroupByClause() {
        return groupByClause;
    }

    public void setColumns(String columns) {
        this.columns = StringEscapeUtils.escapeSql(columns);
    }

    public String geColumns() {
        return columns;
    }

    public void setCountsql1(String countsql1) {
        this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
    }

    public String geCountsql1() {
        return countsql1;
    }

    public void setCountsql2(String countsql2) {
        this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
    }

    public String geCountsql2() {
        return countsql2;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setRowStart(int rowStart) {
        this.rowStart = rowStart;
    }

    public void setRowEnd(int rowEnd) {
        this.rowEnd = rowEnd;
    }

    public int getRowStart() {
        return rowStart;
    }

    public int getRowEnd() {
        return rowEnd;
    }

    public List<CodeFamilyAidLogCriteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(CodeFamilyAidLogCriteria criteria) {
        oredCriteria.add(criteria);
    }

    public CodeFamilyAidLogCriteria or() {
    	CodeFamilyAidLogCriteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public CodeFamilyAidLogCriteria createCriteria() {
    	CodeFamilyAidLogCriteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected CodeFamilyAidLogCriteria createCriteriaInternal() {
    	CodeFamilyAidLogCriteria criteria = new CodeFamilyAidLogCriteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        groupByClause = null;
        columns = null;
        countsql1 = null;
        countsql2 = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<CodeFamilyAidLogCriterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<CodeFamilyAidLogCriterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<CodeFamilyAidLogCriterion> getAllCriteria() {
            return criteria;
        }

        public List<CodeFamilyAidLogCriterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new CodeFamilyAidLogCriterion(condition));
        }

        protected void addCriterion(String condition, Object value,
                String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new CodeFamilyAidLogCriterion(condition, value));
        }

        protected void addCriterion(String condition, Object value,
                String property, int likeType) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new CodeFamilyAidLogCriterion(condition, value, likeType));
        }

        protected void addCriterion(String condition, Object value1,
                Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property
                        + " cannot be null");
            }
            criteria.add(new CodeFamilyAidLogCriterion(condition, value1, value2));
        }

        public CodeFamilyAidLogCriteria andCriterionEqualTo(String criterion) {
            if (StringUtils.isBlank(criterion)) {
                criterion = "1=1";
            }
            addCriterion(criterion);
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andFamilyAidLogIdIsNull() {
            addCriterion("FAMILY_AID_LOG_ID is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyAidLogIdIsNotNull() {
            addCriterion("FAMILY_AID_LOG_ID is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyAidLogIdEqualTo(Integer value) {
            addCriterion("FAMILY_AID_LOG_ID =", value, "FAMILY_AID_LOG_ID");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyAidLogIdNotEqualTo(Integer value) {
            addCriterion("FAMILY_AID_LOG_ID <>", value, "FAMILY_AID_LOG_ID");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyAidLogIdGreaterThan(Integer value) {
            addCriterion("FAMILY_AID_LOG_ID >", value, "FAMILY_AID_LOG_ID");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyAidLogIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("FAMILY_AID_LOG_ID >=", value, "FAMILY_AID_LOG_ID");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyAidLogIdLessThan(Integer value) {
            addCriterion("FAMILY_AID_LOG_ID <", value, "FAMILY_AID_LOG_ID");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyAidLogIdLessThanOrEqualTo(Integer value) {
            addCriterion("FAMILY_AID_LOG_ID <=", value, "FAMILY_AID_LOG_ID");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyAidLogIdLike(Integer value) {
            addCriterion("FAMILY_AID_LOG_ID like ", value, "FAMILY_AID_LOG_ID", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyAidLogIdNotLike(Integer value) {
            addCriterion("FAMILY_AID_LOG_ID  not like ", value, "FAMILY_AID_LOG_ID", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyAidLogIdLeftLike(Integer value) {
            addCriterion("FAMILY_AID_LOG_ID like ", value, "FAMILY_AID_LOG_ID", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyAidLogIdNotLeftLike(Integer value) {
            addCriterion("FAMILY_AID_LOG_ID  not like ", value, "FAMILY_AID_LOG_ID", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyAidLogIdRightLike(Integer value) {
            addCriterion("FAMILY_AID_LOG_ID like ", value, "FAMILY_AID_LOG_ID", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyAidLogIdNotRightLike(Integer value) {
            addCriterion("FAMILY_AID_LOG_ID  not like ", value, "FAMILY_AID_LOG_ID", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyAidLogIdIn(List<Integer> values) {
            addCriterion("FAMILY_AID_LOG_ID  in ", values, "FAMILY_AID_LOG_ID");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyAidLogIdNotIn(List<Integer> values) {
            addCriterion("FAMILY_AID_LOG_ID not in ", values, "FAMILY_AID_LOG_ID");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyAidLogIdBetween(Integer value1, Integer value2) {
            addCriterion("FAMILY_AID_LOG_ID between ", value1, value2, "FAMILY_AID_LOG_ID");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyAidLogIdNotBetween(Integer value1, Integer value2) {
            addCriterion("FAMILY_AID_LOG_ID not between ", value1, value2, "FAMILY_AID_LOG_ID");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andTownIdIsNull() {
            addCriterion("town_id is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownIdIsNotNull() {
            addCriterion("town_id is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownIdEqualTo(Integer value) {
            addCriterion("town_id =", value, "town_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownIdNotEqualTo(Integer value) {
            addCriterion("town_id <>", value, "town_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownIdGreaterThan(Integer value) {
            addCriterion("town_id >", value, "town_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("town_id >=", value, "town_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownIdLessThan(Integer value) {
            addCriterion("town_id <", value, "town_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownIdLessThanOrEqualTo(Integer value) {
            addCriterion("town_id <=", value, "town_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownIdLike(Integer value) {
            addCriterion("town_id like ", value, "town_id", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownIdNotLike(Integer value) {
            addCriterion("town_id  not like ", value, "town_id", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownIdLeftLike(Integer value) {
            addCriterion("town_id like ", value, "town_id", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownIdNotLeftLike(Integer value) {
            addCriterion("town_id  not like ", value, "town_id", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownIdRightLike(Integer value) {
            addCriterion("town_id like ", value, "town_id", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownIdNotRightLike(Integer value) {
            addCriterion("town_id  not like ", value, "town_id", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownIdIn(List<Integer> values) {
            addCriterion("town_id  in ", values, "town_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownIdNotIn(List<Integer> values) {
            addCriterion("town_id not in ", values, "town_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownIdBetween(Integer value1, Integer value2) {
            addCriterion("town_id between ", value1, value2, "town_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownIdNotBetween(Integer value1, Integer value2) {
            addCriterion("town_id not between ", value1, value2, "town_id");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andTownNameIsNull() {
            addCriterion("town_name is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownNameIsNotNull() {
            addCriterion("town_name is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownNameEqualTo(String value) {
            addCriterion("town_name =", value, "town_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownNameNotEqualTo(String value) {
            addCriterion("town_name <>", value, "town_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownNameGreaterThan(String value) {
            addCriterion("town_name >", value, "town_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownNameGreaterThanOrEqualTo(String value) {
            addCriterion("town_name >=", value, "town_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownNameLessThan(String value) {
            addCriterion("town_name <", value, "town_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownNameLessThanOrEqualTo(String value) {
            addCriterion("town_name <=", value, "town_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownNameLike(String value) {
            addCriterion("town_name like ", value, "town_name", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownNameNotLike(String value) {
            addCriterion("town_name  not like ", value, "town_name", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownNameLeftLike(String value) {
            addCriterion("town_name like ", value, "town_name", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownNameNotLeftLike(String value) {
            addCriterion("town_name  not like ", value, "town_name", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownNameRightLike(String value) {
            addCriterion("town_name like ", value, "town_name", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownNameNotRightLike(String value) {
            addCriterion("town_name  not like ", value, "town_name", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownNameIn(List<String> values) {
            addCriterion("town_name  in ", values, "town_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownNameNotIn(List<String> values) {
            addCriterion("town_name not in ", values, "town_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownNameBetween(String value1, String value2) {
            addCriterion("town_name between ", value1, value2, "town_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andTownNameNotBetween(String value1, String value2) {
            addCriterion("town_name not between ", value1, value2, "town_name");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andVillageIdIsNull() {
            addCriterion("village_id is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageIdIsNotNull() {
            addCriterion("village_id is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageIdEqualTo(Integer value) {
            addCriterion("village_id =", value, "village_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageIdNotEqualTo(Integer value) {
            addCriterion("village_id <>", value, "village_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageIdGreaterThan(Integer value) {
            addCriterion("village_id >", value, "village_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("village_id >=", value, "village_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageIdLessThan(Integer value) {
            addCriterion("village_id <", value, "village_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageIdLessThanOrEqualTo(Integer value) {
            addCriterion("village_id <=", value, "village_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageIdLike(Integer value) {
            addCriterion("village_id like ", value, "village_id", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageIdNotLike(Integer value) {
            addCriterion("village_id  not like ", value, "village_id", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageIdLeftLike(Integer value) {
            addCriterion("village_id like ", value, "village_id", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageIdNotLeftLike(Integer value) {
            addCriterion("village_id  not like ", value, "village_id", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageIdRightLike(Integer value) {
            addCriterion("village_id like ", value, "village_id", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageIdNotRightLike(Integer value) {
            addCriterion("village_id  not like ", value, "village_id", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageIdIn(List<Integer> values) {
            addCriterion("village_id  in ", values, "village_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageIdNotIn(List<Integer> values) {
            addCriterion("village_id not in ", values, "village_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageIdBetween(Integer value1, Integer value2) {
            addCriterion("village_id between ", value1, value2, "village_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageIdNotBetween(Integer value1, Integer value2) {
            addCriterion("village_id not between ", value1, value2, "village_id");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andVillageCodeIsNull() {
            addCriterion("village_code is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageCodeIsNotNull() {
            addCriterion("village_code is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageCodeEqualTo(String value) {
            addCriterion("village_code =", value, "village_code");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageCodeNotEqualTo(String value) {
            addCriterion("village_code <>", value, "village_code");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageCodeGreaterThan(String value) {
            addCriterion("village_code >", value, "village_code");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageCodeGreaterThanOrEqualTo(String value) {
            addCriterion("village_code >=", value, "village_code");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageCodeLessThan(String value) {
            addCriterion("village_code <", value, "village_code");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageCodeLessThanOrEqualTo(String value) {
            addCriterion("village_code <=", value, "village_code");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageCodeLike(String value) {
            addCriterion("village_code like ", value, "village_code", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageCodeNotLike(String value) {
            addCriterion("village_code  not like ", value, "village_code", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageCodeLeftLike(String value) {
            addCriterion("village_code like ", value, "village_code", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageCodeNotLeftLike(String value) {
            addCriterion("village_code  not like ", value, "village_code", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageCodeRightLike(String value) {
            addCriterion("village_code like ", value, "village_code", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageCodeNotRightLike(String value) {
            addCriterion("village_code  not like ", value, "village_code", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageCodeIn(List<String> values) {
            addCriterion("village_code  in ", values, "village_code");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageCodeNotIn(List<String> values) {
            addCriterion("village_code not in ", values, "village_code");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageCodeBetween(String value1, String value2) {
            addCriterion("village_code between ", value1, value2, "village_code");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageCodeNotBetween(String value1, String value2) {
            addCriterion("village_code not between ", value1, value2, "village_code");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andVillageNameIsNull() {
            addCriterion("village_name is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageNameIsNotNull() {
            addCriterion("village_name is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageNameEqualTo(String value) {
            addCriterion("village_name =", value, "village_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageNameNotEqualTo(String value) {
            addCriterion("village_name <>", value, "village_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageNameGreaterThan(String value) {
            addCriterion("village_name >", value, "village_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageNameGreaterThanOrEqualTo(String value) {
            addCriterion("village_name >=", value, "village_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageNameLessThan(String value) {
            addCriterion("village_name <", value, "village_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageNameLessThanOrEqualTo(String value) {
            addCriterion("village_name <=", value, "village_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageNameLike(String value) {
            addCriterion("village_name like ", value, "village_name", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageNameNotLike(String value) {
            addCriterion("village_name  not like ", value, "village_name", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageNameLeftLike(String value) {
            addCriterion("village_name like ", value, "village_name", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageNameNotLeftLike(String value) {
            addCriterion("village_name  not like ", value, "village_name", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageNameRightLike(String value) {
            addCriterion("village_name like ", value, "village_name", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageNameNotRightLike(String value) {
            addCriterion("village_name  not like ", value, "village_name", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageNameIn(List<String> values) {
            addCriterion("village_name  in ", values, "village_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageNameNotIn(List<String> values) {
            addCriterion("village_name not in ", values, "village_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageNameBetween(String value1, String value2) {
            addCriterion("village_name between ", value1, value2, "village_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andVillageNameNotBetween(String value1, String value2) {
            addCriterion("village_name not between ", value1, value2, "village_name");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andFamilyIdIsNull() {
            addCriterion("family_id is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyIdIsNotNull() {
            addCriterion("family_id is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyIdEqualTo(Integer value) {
            addCriterion("family_id =", value, "family_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyIdNotEqualTo(Integer value) {
            addCriterion("family_id <>", value, "family_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyIdGreaterThan(Integer value) {
            addCriterion("family_id >", value, "family_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("family_id >=", value, "family_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyIdLessThan(Integer value) {
            addCriterion("family_id <", value, "family_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyIdLessThanOrEqualTo(Integer value) {
            addCriterion("family_id <=", value, "family_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyIdLike(Integer value) {
            addCriterion("family_id like ", value, "family_id", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyIdNotLike(Integer value) {
            addCriterion("family_id  not like ", value, "family_id", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyIdLeftLike(Integer value) {
            addCriterion("family_id like ", value, "family_id", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyIdNotLeftLike(Integer value) {
            addCriterion("family_id  not like ", value, "family_id", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyIdRightLike(Integer value) {
            addCriterion("family_id like ", value, "family_id", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyIdNotRightLike(Integer value) {
            addCriterion("family_id  not like ", value, "family_id", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyIdIn(List<Integer> values) {
            addCriterion("family_id  in ", values, "family_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyIdNotIn(List<Integer> values) {
            addCriterion("family_id not in ", values, "family_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyIdBetween(Integer value1, Integer value2) {
            addCriterion("family_id between ", value1, value2, "family_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andFamilyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("family_id not between ", value1, value2, "family_id");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andProjectIdIsNull() {
            addCriterion("project_id is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectIdIsNotNull() {
            addCriterion("project_id is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectIdEqualTo(Integer value) {
            addCriterion("project_id =", value, "project_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectIdNotEqualTo(Integer value) {
            addCriterion("project_id <>", value, "project_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectIdGreaterThan(Integer value) {
            addCriterion("project_id >", value, "project_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("project_id >=", value, "project_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectIdLessThan(Integer value) {
            addCriterion("project_id <", value, "project_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectIdLessThanOrEqualTo(Integer value) {
            addCriterion("project_id <=", value, "project_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectIdLike(Integer value) {
            addCriterion("project_id like ", value, "project_id", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectIdNotLike(Integer value) {
            addCriterion("project_id  not like ", value, "project_id", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectIdLeftLike(Integer value) {
            addCriterion("project_id like ", value, "project_id", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectIdNotLeftLike(Integer value) {
            addCriterion("project_id  not like ", value, "project_id", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectIdRightLike(Integer value) {
            addCriterion("project_id like ", value, "project_id", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectIdNotRightLike(Integer value) {
            addCriterion("project_id  not like ", value, "project_id", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectIdIn(List<Integer> values) {
            addCriterion("project_id  in ", values, "project_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectIdNotIn(List<Integer> values) {
            addCriterion("project_id not in ", values, "project_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectIdBetween(Integer value1, Integer value2) {
            addCriterion("project_id between ", value1, value2, "project_id");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectIdNotBetween(Integer value1, Integer value2) {
            addCriterion("project_id not between ", value1, value2, "project_id");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andProjectCodeIsNull() {
            addCriterion("project_code is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCodeIsNotNull() {
            addCriterion("project_code is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCodeEqualTo(Integer value) {
            addCriterion("project_code =", value, "project_code");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCodeNotEqualTo(Integer value) {
            addCriterion("project_code <>", value, "project_code");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCodeGreaterThan(Integer value) {
            addCriterion("project_code >", value, "project_code");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCodeGreaterThanOrEqualTo(Integer value) {
            addCriterion("project_code >=", value, "project_code");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCodeLessThan(Integer value) {
            addCriterion("project_code <", value, "project_code");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCodeLessThanOrEqualTo(Integer value) {
            addCriterion("project_code <=", value, "project_code");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCodeLike(Integer value) {
            addCriterion("project_code like ", value, "project_code", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCodeNotLike(Integer value) {
            addCriterion("project_code  not like ", value, "project_code", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCodeLeftLike(Integer value) {
            addCriterion("project_code like ", value, "project_code", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCodeNotLeftLike(Integer value) {
            addCriterion("project_code  not like ", value, "project_code", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCodeRightLike(Integer value) {
            addCriterion("project_code like ", value, "project_code", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCodeNotRightLike(Integer value) {
            addCriterion("project_code  not like ", value, "project_code", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCodeIn(List<Integer> values) {
            addCriterion("project_code  in ", values, "project_code");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCodeNotIn(List<Integer> values) {
            addCriterion("project_code not in ", values, "project_code");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCodeBetween(Integer value1, Integer value2) {
            addCriterion("project_code between ", value1, value2, "project_code");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCodeNotBetween(Integer value1, Integer value2) {
            addCriterion("project_code not between ", value1, value2, "project_code");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andProjectNameIsNull() {
            addCriterion("project_name is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectNameIsNotNull() {
            addCriterion("project_name is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectNameEqualTo(String value) {
            addCriterion("project_name =", value, "project_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectNameNotEqualTo(String value) {
            addCriterion("project_name <>", value, "project_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectNameGreaterThan(String value) {
            addCriterion("project_name >", value, "project_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectNameGreaterThanOrEqualTo(String value) {
            addCriterion("project_name >=", value, "project_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectNameLessThan(String value) {
            addCriterion("project_name <", value, "project_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectNameLessThanOrEqualTo(String value) {
            addCriterion("project_name <=", value, "project_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectNameLike(String value) {
            addCriterion("project_name like ", value, "project_name", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectNameNotLike(String value) {
            addCriterion("project_name  not like ", value, "project_name", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectNameLeftLike(String value) {
            addCriterion("project_name like ", value, "project_name", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectNameNotLeftLike(String value) {
            addCriterion("project_name  not like ", value, "project_name", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectNameRightLike(String value) {
            addCriterion("project_name like ", value, "project_name", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectNameNotRightLike(String value) {
            addCriterion("project_name  not like ", value, "project_name", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectNameIn(List<String> values) {
            addCriterion("project_name  in ", values, "project_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectNameNotIn(List<String> values) {
            addCriterion("project_name not in ", values, "project_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectNameBetween(String value1, String value2) {
            addCriterion("project_name between ", value1, value2, "project_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectNameNotBetween(String value1, String value2) {
            addCriterion("project_name not between ", value1, value2, "project_name");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andProjectDescIsNull() {
            addCriterion("project_desc is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDescIsNotNull() {
            addCriterion("project_desc is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDescEqualTo(String value) {
            addCriterion("project_desc =", value, "project_desc");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDescNotEqualTo(String value) {
            addCriterion("project_desc <>", value, "project_desc");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDescGreaterThan(String value) {
            addCriterion("project_desc >", value, "project_desc");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDescGreaterThanOrEqualTo(String value) {
            addCriterion("project_desc >=", value, "project_desc");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDescLessThan(String value) {
            addCriterion("project_desc <", value, "project_desc");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDescLessThanOrEqualTo(String value) {
            addCriterion("project_desc <=", value, "project_desc");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDescLike(String value) {
            addCriterion("project_desc like ", value, "project_desc", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDescNotLike(String value) {
            addCriterion("project_desc  not like ", value, "project_desc", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDescLeftLike(String value) {
            addCriterion("project_desc like ", value, "project_desc", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDescNotLeftLike(String value) {
            addCriterion("project_desc  not like ", value, "project_desc", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDescRightLike(String value) {
            addCriterion("project_desc like ", value, "project_desc", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDescNotRightLike(String value) {
            addCriterion("project_desc  not like ", value, "project_desc", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDescIn(List<String> values) {
            addCriterion("project_desc  in ", values, "project_desc");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDescNotIn(List<String> values) {
            addCriterion("project_desc not in ", values, "project_desc");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDescBetween(String value1, String value2) {
            addCriterion("project_desc between ", value1, value2, "project_desc");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDescNotBetween(String value1, String value2) {
            addCriterion("project_desc not between ", value1, value2, "project_desc");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andProjectBeginDateIsNull() {
            addCriterion("project_begin_date is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectBeginDateIsNotNull() {
            addCriterion("project_begin_date is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectBeginDateEqualTo(Date value) {
            addCriterion("project_begin_date =", value, "project_begin_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectBeginDateNotEqualTo(Date value) {
            addCriterion("project_begin_date <>", value, "project_begin_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectBeginDateGreaterThan(Date value) {
            addCriterion("project_begin_date >", value, "project_begin_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectBeginDateGreaterThanOrEqualTo(Date value) {
            addCriterion("project_begin_date >=", value, "project_begin_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectBeginDateLessThan(Date value) {
            addCriterion("project_begin_date <", value, "project_begin_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectBeginDateLessThanOrEqualTo(Date value) {
            addCriterion("project_begin_date <=", value, "project_begin_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectBeginDateLike(Date value) {
            addCriterion("project_begin_date like ", value, "project_begin_date", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectBeginDateNotLike(Date value) {
            addCriterion("project_begin_date  not like ", value, "project_begin_date", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectBeginDateLeftLike(Date value) {
            addCriterion("project_begin_date like ", value, "project_begin_date", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectBeginDateNotLeftLike(Date value) {
            addCriterion("project_begin_date  not like ", value, "project_begin_date", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectBeginDateRightLike(Date value) {
            addCriterion("project_begin_date like ", value, "project_begin_date", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectBeginDateNotRightLike(Date value) {
            addCriterion("project_begin_date  not like ", value, "project_begin_date", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectBeginDateIn(List<Date> values) {
            addCriterion("project_begin_date  in ", values, "project_begin_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectBeginDateNotIn(List<Date> values) {
            addCriterion("project_begin_date not in ", values, "project_begin_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectBeginDateBetween(Date value1, Date value2) {
            addCriterion("project_begin_date between ", value1, value2, "project_begin_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectBeginDateNotBetween(Date value1, Date value2) {
            addCriterion("project_begin_date not between ", value1, value2, "project_begin_date");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andProjectEndDateIsNull() {
            addCriterion("project_end_date is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectEndDateIsNotNull() {
            addCriterion("project_end_date is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectEndDateEqualTo(Date value) {
            addCriterion("project_end_date =", value, "project_end_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectEndDateNotEqualTo(Date value) {
            addCriterion("project_end_date <>", value, "project_end_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectEndDateGreaterThan(Date value) {
            addCriterion("project_end_date >", value, "project_end_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectEndDateGreaterThanOrEqualTo(Date value) {
            addCriterion("project_end_date >=", value, "project_end_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectEndDateLessThan(Date value) {
            addCriterion("project_end_date <", value, "project_end_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectEndDateLessThanOrEqualTo(Date value) {
            addCriterion("project_end_date <=", value, "project_end_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectEndDateLike(Date value) {
            addCriterion("project_end_date like ", value, "project_end_date", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectEndDateNotLike(Date value) {
            addCriterion("project_end_date  not like ", value, "project_end_date", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectEndDateLeftLike(Date value) {
            addCriterion("project_end_date like ", value, "project_end_date", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectEndDateNotLeftLike(Date value) {
            addCriterion("project_end_date  not like ", value, "project_end_date", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectEndDateRightLike(Date value) {
            addCriterion("project_end_date like ", value, "project_end_date", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectEndDateNotRightLike(Date value) {
            addCriterion("project_end_date  not like ", value, "project_end_date", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectEndDateIn(List<Date> values) {
            addCriterion("project_end_date  in ", values, "project_end_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectEndDateNotIn(List<Date> values) {
            addCriterion("project_end_date not in ", values, "project_end_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectEndDateBetween(Date value1, Date value2) {
            addCriterion("project_end_date between ", value1, value2, "project_end_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectEndDateNotBetween(Date value1, Date value2) {
            addCriterion("project_end_date not between ", value1, value2, "project_end_date");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andProjectTotalInvestIsNull() {
            addCriterion("project_total_invest is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTotalInvestIsNotNull() {
            addCriterion("project_total_invest is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTotalInvestEqualTo(Integer value) {
            addCriterion("project_total_invest =", value, "project_total_invest");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTotalInvestNotEqualTo(Integer value) {
            addCriterion("project_total_invest <>", value, "project_total_invest");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTotalInvestGreaterThan(Integer value) {
            addCriterion("project_total_invest >", value, "project_total_invest");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTotalInvestGreaterThanOrEqualTo(Integer value) {
            addCriterion("project_total_invest >=", value, "project_total_invest");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTotalInvestLessThan(Integer value) {
            addCriterion("project_total_invest <", value, "project_total_invest");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTotalInvestLessThanOrEqualTo(Integer value) {
            addCriterion("project_total_invest <=", value, "project_total_invest");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTotalInvestLike(Integer value) {
            addCriterion("project_total_invest like ", value, "project_total_invest", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTotalInvestNotLike(Integer value) {
            addCriterion("project_total_invest  not like ", value, "project_total_invest", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTotalInvestLeftLike(Integer value) {
            addCriterion("project_total_invest like ", value, "project_total_invest", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTotalInvestNotLeftLike(Integer value) {
            addCriterion("project_total_invest  not like ", value, "project_total_invest", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTotalInvestRightLike(Integer value) {
            addCriterion("project_total_invest like ", value, "project_total_invest", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTotalInvestNotRightLike(Integer value) {
            addCriterion("project_total_invest  not like ", value, "project_total_invest", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTotalInvestIn(List<Integer> values) {
            addCriterion("project_total_invest  in ", values, "project_total_invest");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTotalInvestNotIn(List<Integer> values) {
            addCriterion("project_total_invest not in ", values, "project_total_invest");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTotalInvestBetween(Integer value1, Integer value2) {
            addCriterion("project_total_invest between ", value1, value2, "project_total_invest");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTotalInvestNotBetween(Integer value1, Integer value2) {
            addCriterion("project_total_invest not between ", value1, value2, "project_total_invest");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andProjectPlanInvestIsNull() {
            addCriterion("project_plan_invest is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPlanInvestIsNotNull() {
            addCriterion("project_plan_invest is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPlanInvestEqualTo(Integer value) {
            addCriterion("project_plan_invest =", value, "project_plan_invest");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPlanInvestNotEqualTo(Integer value) {
            addCriterion("project_plan_invest <>", value, "project_plan_invest");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPlanInvestGreaterThan(Integer value) {
            addCriterion("project_plan_invest >", value, "project_plan_invest");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPlanInvestGreaterThanOrEqualTo(Integer value) {
            addCriterion("project_plan_invest >=", value, "project_plan_invest");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPlanInvestLessThan(Integer value) {
            addCriterion("project_plan_invest <", value, "project_plan_invest");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPlanInvestLessThanOrEqualTo(Integer value) {
            addCriterion("project_plan_invest <=", value, "project_plan_invest");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPlanInvestLike(Integer value) {
            addCriterion("project_plan_invest like ", value, "project_plan_invest", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPlanInvestNotLike(Integer value) {
            addCriterion("project_plan_invest  not like ", value, "project_plan_invest", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPlanInvestLeftLike(Integer value) {
            addCriterion("project_plan_invest like ", value, "project_plan_invest", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPlanInvestNotLeftLike(Integer value) {
            addCriterion("project_plan_invest  not like ", value, "project_plan_invest", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPlanInvestRightLike(Integer value) {
            addCriterion("project_plan_invest like ", value, "project_plan_invest", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPlanInvestNotRightLike(Integer value) {
            addCriterion("project_plan_invest  not like ", value, "project_plan_invest", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPlanInvestIn(List<Integer> values) {
            addCriterion("project_plan_invest  in ", values, "project_plan_invest");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPlanInvestNotIn(List<Integer> values) {
            addCriterion("project_plan_invest not in ", values, "project_plan_invest");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPlanInvestBetween(Integer value1, Integer value2) {
            addCriterion("project_plan_invest between ", value1, value2, "project_plan_invest");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPlanInvestNotBetween(Integer value1, Integer value2) {
            addCriterion("project_plan_invest not between ", value1, value2, "project_plan_invest");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andProjectCityLeaderIsNull() {
            addCriterion("project_city_leader is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCityLeaderIsNotNull() {
            addCriterion("project_city_leader is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCityLeaderEqualTo(String value) {
            addCriterion("project_city_leader =", value, "project_city_leader");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCityLeaderNotEqualTo(String value) {
            addCriterion("project_city_leader <>", value, "project_city_leader");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCityLeaderGreaterThan(String value) {
            addCriterion("project_city_leader >", value, "project_city_leader");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCityLeaderGreaterThanOrEqualTo(String value) {
            addCriterion("project_city_leader >=", value, "project_city_leader");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCityLeaderLessThan(String value) {
            addCriterion("project_city_leader <", value, "project_city_leader");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCityLeaderLessThanOrEqualTo(String value) {
            addCriterion("project_city_leader <=", value, "project_city_leader");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCityLeaderLike(String value) {
            addCriterion("project_city_leader like ", value, "project_city_leader", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCityLeaderNotLike(String value) {
            addCriterion("project_city_leader  not like ", value, "project_city_leader", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCityLeaderLeftLike(String value) {
            addCriterion("project_city_leader like ", value, "project_city_leader", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCityLeaderNotLeftLike(String value) {
            addCriterion("project_city_leader  not like ", value, "project_city_leader", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCityLeaderRightLike(String value) {
            addCriterion("project_city_leader like ", value, "project_city_leader", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCityLeaderNotRightLike(String value) {
            addCriterion("project_city_leader  not like ", value, "project_city_leader", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCityLeaderIn(List<String> values) {
            addCriterion("project_city_leader  in ", values, "project_city_leader");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCityLeaderNotIn(List<String> values) {
            addCriterion("project_city_leader not in ", values, "project_city_leader");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCityLeaderBetween(String value1, String value2) {
            addCriterion("project_city_leader between ", value1, value2, "project_city_leader");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectCityLeaderNotBetween(String value1, String value2) {
            addCriterion("project_city_leader not between ", value1, value2, "project_city_leader");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andProjectDepartmentIsNull() {
            addCriterion("project_department is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDepartmentIsNotNull() {
            addCriterion("project_department is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDepartmentEqualTo(String value) {
            addCriterion("project_department =", value, "project_department");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDepartmentNotEqualTo(String value) {
            addCriterion("project_department <>", value, "project_department");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDepartmentGreaterThan(String value) {
            addCriterion("project_department >", value, "project_department");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDepartmentGreaterThanOrEqualTo(String value) {
            addCriterion("project_department >=", value, "project_department");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDepartmentLessThan(String value) {
            addCriterion("project_department <", value, "project_department");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDepartmentLessThanOrEqualTo(String value) {
            addCriterion("project_department <=", value, "project_department");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDepartmentLike(String value) {
            addCriterion("project_department like ", value, "project_department", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDepartmentNotLike(String value) {
            addCriterion("project_department  not like ", value, "project_department", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDepartmentLeftLike(String value) {
            addCriterion("project_department like ", value, "project_department", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDepartmentNotLeftLike(String value) {
            addCriterion("project_department  not like ", value, "project_department", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDepartmentRightLike(String value) {
            addCriterion("project_department like ", value, "project_department", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDepartmentNotRightLike(String value) {
            addCriterion("project_department  not like ", value, "project_department", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDepartmentIn(List<String> values) {
            addCriterion("project_department  in ", values, "project_department");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDepartmentNotIn(List<String> values) {
            addCriterion("project_department not in ", values, "project_department");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDepartmentBetween(String value1, String value2) {
            addCriterion("project_department between ", value1, value2, "project_department");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectDepartmentNotBetween(String value1, String value2) {
            addCriterion("project_department not between ", value1, value2, "project_department");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andProjectPovertyLeaderIsNull() {
            addCriterion("project_poverty_leader is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPovertyLeaderIsNotNull() {
            addCriterion("project_poverty_leader is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPovertyLeaderEqualTo(String value) {
            addCriterion("project_poverty_leader =", value, "project_poverty_leader");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPovertyLeaderNotEqualTo(String value) {
            addCriterion("project_poverty_leader <>", value, "project_poverty_leader");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPovertyLeaderGreaterThan(String value) {
            addCriterion("project_poverty_leader >", value, "project_poverty_leader");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPovertyLeaderGreaterThanOrEqualTo(String value) {
            addCriterion("project_poverty_leader >=", value, "project_poverty_leader");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPovertyLeaderLessThan(String value) {
            addCriterion("project_poverty_leader <", value, "project_poverty_leader");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPovertyLeaderLessThanOrEqualTo(String value) {
            addCriterion("project_poverty_leader <=", value, "project_poverty_leader");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPovertyLeaderLike(String value) {
            addCriterion("project_poverty_leader like ", value, "project_poverty_leader", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPovertyLeaderNotLike(String value) {
            addCriterion("project_poverty_leader  not like ", value, "project_poverty_leader", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPovertyLeaderLeftLike(String value) {
            addCriterion("project_poverty_leader like ", value, "project_poverty_leader", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPovertyLeaderNotLeftLike(String value) {
            addCriterion("project_poverty_leader  not like ", value, "project_poverty_leader", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPovertyLeaderRightLike(String value) {
            addCriterion("project_poverty_leader like ", value, "project_poverty_leader", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPovertyLeaderNotRightLike(String value) {
            addCriterion("project_poverty_leader  not like ", value, "project_poverty_leader", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPovertyLeaderIn(List<String> values) {
            addCriterion("project_poverty_leader  in ", values, "project_poverty_leader");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPovertyLeaderNotIn(List<String> values) {
            addCriterion("project_poverty_leader not in ", values, "project_poverty_leader");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPovertyLeaderBetween(String value1, String value2) {
            addCriterion("project_poverty_leader between ", value1, value2, "project_poverty_leader");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectPovertyLeaderNotBetween(String value1, String value2) {
            addCriterion("project_poverty_leader not between ", value1, value2, "project_poverty_leader");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andProjectTypeIsNull() {
            addCriterion("project_type is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeIsNotNull() {
            addCriterion("project_type is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeEqualTo(Integer value) {
            addCriterion("project_type =", value, "project_type");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNotEqualTo(Integer value) {
            addCriterion("project_type <>", value, "project_type");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeGreaterThan(Integer value) {
            addCriterion("project_type >", value, "project_type");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("project_type >=", value, "project_type");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeLessThan(Integer value) {
            addCriterion("project_type <", value, "project_type");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeLessThanOrEqualTo(Integer value) {
            addCriterion("project_type <=", value, "project_type");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeLike(Integer value) {
            addCriterion("project_type like ", value, "project_type", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNotLike(Integer value) {
            addCriterion("project_type  not like ", value, "project_type", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeLeftLike(Integer value) {
            addCriterion("project_type like ", value, "project_type", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNotLeftLike(Integer value) {
            addCriterion("project_type  not like ", value, "project_type", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeRightLike(Integer value) {
            addCriterion("project_type like ", value, "project_type", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNotRightLike(Integer value) {
            addCriterion("project_type  not like ", value, "project_type", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeIn(List<Integer> values) {
            addCriterion("project_type  in ", values, "project_type");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNotIn(List<Integer> values) {
            addCriterion("project_type not in ", values, "project_type");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeBetween(Integer value1, Integer value2) {
            addCriterion("project_type between ", value1, value2, "project_type");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("project_type not between ", value1, value2, "project_type");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andProjectTypeNameIsNull() {
            addCriterion("project_type_name is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNameIsNotNull() {
            addCriterion("project_type_name is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNameEqualTo(String value) {
            addCriterion("project_type_name =", value, "project_type_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNameNotEqualTo(String value) {
            addCriterion("project_type_name <>", value, "project_type_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNameGreaterThan(String value) {
            addCriterion("project_type_name >", value, "project_type_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("project_type_name >=", value, "project_type_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNameLessThan(String value) {
            addCriterion("project_type_name <", value, "project_type_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNameLessThanOrEqualTo(String value) {
            addCriterion("project_type_name <=", value, "project_type_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNameLike(String value) {
            addCriterion("project_type_name like ", value, "project_type_name", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNameNotLike(String value) {
            addCriterion("project_type_name  not like ", value, "project_type_name", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNameLeftLike(String value) {
            addCriterion("project_type_name like ", value, "project_type_name", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNameNotLeftLike(String value) {
            addCriterion("project_type_name  not like ", value, "project_type_name", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNameRightLike(String value) {
            addCriterion("project_type_name like ", value, "project_type_name", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNameNotRightLike(String value) {
            addCriterion("project_type_name  not like ", value, "project_type_name", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNameIn(List<String> values) {
            addCriterion("project_type_name  in ", values, "project_type_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNameNotIn(List<String> values) {
            addCriterion("project_type_name not in ", values, "project_type_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNameBetween(String value1, String value2) {
            addCriterion("project_type_name between ", value1, value2, "project_type_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectTypeNameNotBetween(String value1, String value2) {
            addCriterion("project_type_name not between ", value1, value2, "project_type_name");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andProjectSubTypeIsNull() {
            addCriterion("project_sub_type is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeIsNotNull() {
            addCriterion("project_sub_type is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeEqualTo(Integer value) {
            addCriterion("project_sub_type =", value, "project_sub_type");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNotEqualTo(Integer value) {
            addCriterion("project_sub_type <>", value, "project_sub_type");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeGreaterThan(Integer value) {
            addCriterion("project_sub_type >", value, "project_sub_type");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("project_sub_type >=", value, "project_sub_type");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeLessThan(Integer value) {
            addCriterion("project_sub_type <", value, "project_sub_type");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeLessThanOrEqualTo(Integer value) {
            addCriterion("project_sub_type <=", value, "project_sub_type");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeLike(Integer value) {
            addCriterion("project_sub_type like ", value, "project_sub_type", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNotLike(Integer value) {
            addCriterion("project_sub_type  not like ", value, "project_sub_type", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeLeftLike(Integer value) {
            addCriterion("project_sub_type like ", value, "project_sub_type", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNotLeftLike(Integer value) {
            addCriterion("project_sub_type  not like ", value, "project_sub_type", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeRightLike(Integer value) {
            addCriterion("project_sub_type like ", value, "project_sub_type", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNotRightLike(Integer value) {
            addCriterion("project_sub_type  not like ", value, "project_sub_type", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeIn(List<Integer> values) {
            addCriterion("project_sub_type  in ", values, "project_sub_type");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNotIn(List<Integer> values) {
            addCriterion("project_sub_type not in ", values, "project_sub_type");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeBetween(Integer value1, Integer value2) {
            addCriterion("project_sub_type between ", value1, value2, "project_sub_type");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("project_sub_type not between ", value1, value2, "project_sub_type");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andProjectSubTypeNameIsNull() {
            addCriterion("project_sub_type_name is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNameIsNotNull() {
            addCriterion("project_sub_type_name is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNameEqualTo(String value) {
            addCriterion("project_sub_type_name =", value, "project_sub_type_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNameNotEqualTo(String value) {
            addCriterion("project_sub_type_name <>", value, "project_sub_type_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNameGreaterThan(String value) {
            addCriterion("project_sub_type_name >", value, "project_sub_type_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("project_sub_type_name >=", value, "project_sub_type_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNameLessThan(String value) {
            addCriterion("project_sub_type_name <", value, "project_sub_type_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNameLessThanOrEqualTo(String value) {
            addCriterion("project_sub_type_name <=", value, "project_sub_type_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNameLike(String value) {
            addCriterion("project_sub_type_name like ", value, "project_sub_type_name", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNameNotLike(String value) {
            addCriterion("project_sub_type_name  not like ", value, "project_sub_type_name", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNameLeftLike(String value) {
            addCriterion("project_sub_type_name like ", value, "project_sub_type_name", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNameNotLeftLike(String value) {
            addCriterion("project_sub_type_name  not like ", value, "project_sub_type_name", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNameRightLike(String value) {
            addCriterion("project_sub_type_name like ", value, "project_sub_type_name", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNameNotRightLike(String value) {
            addCriterion("project_sub_type_name  not like ", value, "project_sub_type_name", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNameIn(List<String> values) {
            addCriterion("project_sub_type_name  in ", values, "project_sub_type_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNameNotIn(List<String> values) {
            addCriterion("project_sub_type_name not in ", values, "project_sub_type_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNameBetween(String value1, String value2) {
            addCriterion("project_sub_type_name between ", value1, value2, "project_sub_type_name");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andProjectSubTypeNameNotBetween(String value1, String value2) {
            addCriterion("project_sub_type_name not between ", value1, value2, "project_sub_type_name");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andAidDateIsNull() {
            addCriterion("aid_date is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDateIsNotNull() {
            addCriterion("aid_date is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDateEqualTo(Date value) {
            addCriterion("aid_date =", value, "aid_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDateNotEqualTo(Date value) {
            addCriterion("aid_date <>", value, "aid_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDateGreaterThan(Date value) {
            addCriterion("aid_date >", value, "aid_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDateGreaterThanOrEqualTo(Date value) {
            addCriterion("aid_date >=", value, "aid_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDateLessThan(Date value) {
            addCriterion("aid_date <", value, "aid_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDateLessThanOrEqualTo(Date value) {
            addCriterion("aid_date <=", value, "aid_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDateLike(Date value) {
            addCriterion("aid_date like ", value, "aid_date", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDateNotLike(Date value) {
            addCriterion("aid_date  not like ", value, "aid_date", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDateLeftLike(Date value) {
            addCriterion("aid_date like ", value, "aid_date", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDateNotLeftLike(Date value) {
            addCriterion("aid_date  not like ", value, "aid_date", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDateRightLike(Date value) {
            addCriterion("aid_date like ", value, "aid_date", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDateNotRightLike(Date value) {
            addCriterion("aid_date  not like ", value, "aid_date", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDateIn(List<Date> values) {
            addCriterion("aid_date  in ", values, "aid_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDateNotIn(List<Date> values) {
            addCriterion("aid_date not in ", values, "aid_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDateBetween(Date value1, Date value2) {
            addCriterion("aid_date between ", value1, value2, "aid_date");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDateNotBetween(Date value1, Date value2) {
            addCriterion("aid_date not between ", value1, value2, "aid_date");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andAidAmountIsNull() {
            addCriterion("aid_amount is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidAmountIsNotNull() {
            addCriterion("aid_amount is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidAmountEqualTo(BigDecimal value) {
            addCriterion("aid_amount =", value, "aid_amount");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidAmountNotEqualTo(BigDecimal value) {
            addCriterion("aid_amount <>", value, "aid_amount");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidAmountGreaterThan(BigDecimal value) {
            addCriterion("aid_amount >", value, "aid_amount");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("aid_amount >=", value, "aid_amount");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidAmountLessThan(BigDecimal value) {
            addCriterion("aid_amount <", value, "aid_amount");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("aid_amount <=", value, "aid_amount");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidAmountLike(BigDecimal value) {
            addCriterion("aid_amount like ", value, "aid_amount", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidAmountNotLike(BigDecimal value) {
            addCriterion("aid_amount  not like ", value, "aid_amount", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidAmountLeftLike(BigDecimal value) {
            addCriterion("aid_amount like ", value, "aid_amount", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidAmountNotLeftLike(BigDecimal value) {
            addCriterion("aid_amount  not like ", value, "aid_amount", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidAmountRightLike(BigDecimal value) {
            addCriterion("aid_amount like ", value, "aid_amount", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidAmountNotRightLike(BigDecimal value) {
            addCriterion("aid_amount  not like ", value, "aid_amount", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidAmountIn(List<BigDecimal> values) {
            addCriterion("aid_amount  in ", values, "aid_amount");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidAmountNotIn(List<BigDecimal> values) {
            addCriterion("aid_amount not in ", values, "aid_amount");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("aid_amount between ", value1, value2, "aid_amount");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("aid_amount not between ", value1, value2, "aid_amount");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andAidDescIsNull() {
            addCriterion("aid_desc is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDescIsNotNull() {
            addCriterion("aid_desc is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDescEqualTo(String value) {
            addCriterion("aid_desc =", value, "aid_desc");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDescNotEqualTo(String value) {
            addCriterion("aid_desc <>", value, "aid_desc");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDescGreaterThan(String value) {
            addCriterion("aid_desc >", value, "aid_desc");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDescGreaterThanOrEqualTo(String value) {
            addCriterion("aid_desc >=", value, "aid_desc");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDescLessThan(String value) {
            addCriterion("aid_desc <", value, "aid_desc");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDescLessThanOrEqualTo(String value) {
            addCriterion("aid_desc <=", value, "aid_desc");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDescLike(String value) {
            addCriterion("aid_desc like ", value, "aid_desc", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDescNotLike(String value) {
            addCriterion("aid_desc  not like ", value, "aid_desc", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDescLeftLike(String value) {
            addCriterion("aid_desc like ", value, "aid_desc", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDescNotLeftLike(String value) {
            addCriterion("aid_desc  not like ", value, "aid_desc", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDescRightLike(String value) {
            addCriterion("aid_desc like ", value, "aid_desc", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDescNotRightLike(String value) {
            addCriterion("aid_desc  not like ", value, "aid_desc", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDescIn(List<String> values) {
            addCriterion("aid_desc  in ", values, "aid_desc");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDescNotIn(List<String> values) {
            addCriterion("aid_desc not in ", values, "aid_desc");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDescBetween(String value1, String value2) {
            addCriterion("aid_desc between ", value1, value2, "aid_desc");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andAidDescNotBetween(String value1, String value2) {
            addCriterion("aid_desc not between ", value1, value2, "aid_desc");
            return (CodeFamilyAidLogCriteria) this;
        }
        public CodeFamilyAidLogCriteria andPhotoListIsNull() {
            addCriterion("photo_list is null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andPhotoListIsNotNull() {
            addCriterion("photo_list is not null");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andPhotoListEqualTo(String value) {
            addCriterion("photo_list =", value, "photo_list");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andPhotoListNotEqualTo(String value) {
            addCriterion("photo_list <>", value, "photo_list");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andPhotoListGreaterThan(String value) {
            addCriterion("photo_list >", value, "photo_list");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andPhotoListGreaterThanOrEqualTo(String value) {
            addCriterion("photo_list >=", value, "photo_list");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andPhotoListLessThan(String value) {
            addCriterion("photo_list <", value, "photo_list");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andPhotoListLessThanOrEqualTo(String value) {
            addCriterion("photo_list <=", value, "photo_list");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andPhotoListLike(String value) {
            addCriterion("photo_list like ", value, "photo_list", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andPhotoListNotLike(String value) {
            addCriterion("photo_list  not like ", value, "photo_list", 1);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andPhotoListLeftLike(String value) {
            addCriterion("photo_list like ", value, "photo_list", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andPhotoListNotLeftLike(String value) {
            addCriterion("photo_list  not like ", value, "photo_list", 0);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andPhotoListRightLike(String value) {
            addCriterion("photo_list like ", value, "photo_list", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andPhotoListNotRightLike(String value) {
            addCriterion("photo_list  not like ", value, "photo_list", 2);
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andPhotoListIn(List<String> values) {
            addCriterion("photo_list  in ", values, "photo_list");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andPhotoListNotIn(List<String> values) {
            addCriterion("photo_list not in ", values, "photo_list");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andPhotoListBetween(String value1, String value2) {
            addCriterion("photo_list between ", value1, value2, "photo_list");
            return (CodeFamilyAidLogCriteria) this;
        }

        public CodeFamilyAidLogCriteria andPhotoListNotBetween(String value1, String value2) {
            addCriterion("photo_list not between ", value1, value2, "photo_list");
            return (CodeFamilyAidLogCriteria) this;
        }

    }

    public static class CodeFamilyAidLogCriteria extends GeneratedCriteria {

        protected CodeFamilyAidLogCriteria() {
            super();
        }
    }

    public static class CodeFamilyAidLogCriterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected CodeFamilyAidLogCriterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected CodeFamilyAidLogCriterion(String condition, Object value, int likeType) {
            this.condition = condition;
            if (likeType == 0) {
                this.value = "%" + value;
            }
            else if (likeType == 1) {
                this.value = "%" + value + "%";
            }
            else {
                this.value = value + "%";
            }
            this.typeHandler = null;
            this.singleValue = true;

        }

        protected CodeFamilyAidLogCriterion(String condition, Object value,
                String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            }
            else {
                this.singleValue = true;
            }
        }

        protected CodeFamilyAidLogCriterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected CodeFamilyAidLogCriterion(String condition, Object value,
                Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected CodeFamilyAidLogCriterion(String condition, Object value,
                Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}